package com.yuchen.ishop.entity;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Id;
import org.nutz.dao.entity.annotation.Table;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 *
 */
@Table("t_buyer_traces")
public class BuyerTrace implements Serializable {

    @Id
    private Long id;

    @Column("buyer_id")
    private Long buyerId;

    @Column("goods_id")
    private Long goodsId;

    @Column("trace_time")
    private Timestamp traceTime;

    @Column("trace_count")
    private Long traceCount;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getBuyerId() {
        return buyerId;
    }

    public void setBuyerId(Long buyerId) {
        this.buyerId = buyerId;
    }

    public Long getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Long goodsId) {
        this.goodsId = goodsId;
    }

    public Timestamp getTraceTime() {
        return traceTime;
    }

    public void setTraceTime(Timestamp traceTime) {
        this.traceTime = traceTime;
    }

    public Long getTraceCount() {
        return traceCount;
    }

    public void setTraceCount(Long traceCount) {
        this.traceCount = traceCount;
    }
}
